public class Test1 {
    public static void main(String[] args) {
        char word1 = '你';
        char word2 = '好';
        System.out.println("汉字" + word1 + "的位置是" + (int) (word1));
        System.out.println("汉字" + word2 + "的位置是" + (int) (word2));

        int position1 = 20320;
        System.out.println("位置" + position1 + "的内容是" + (char) (position1));

        int position2 = '\u4f60';
        System.out.println("位置" + position2 + "的内容是" + (char) (position2));


    }
}

